/*
 * @Description: 
 * @Author: liuzl
 * @Date: 2024-09-24 17:08:59
 * @LastEditors: liuzl
 * @LastEditTime: 2024-09-24 17:43:04
 */
/**
 * Test1_5_ShapeTest
 */
public class Test1_5_ShapeTest {

    public static void main(String[] args) {
        Shape rectangle = new Rectangle("Red",2.0,3.0);
        Shape  circle = new Circle("Blue",5);
        System.out.println(rectangle.getColor());
        System.out.println("Area:"+rectangle.area());
        System.out.println();
        System.out.println(circle.getColor());
        System.out.println("Area:"+circle.area());
    }
}